package cn.wx.system.domain;

import cn.wx.basic.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Role extends BaseDomain {

    private String name;
    private String sn;

    // 接收前端传来的菜单id
    private List<Long> menus = new ArrayList<>();

    // 接收前端传来的权限id
    private List<Long> permissions = new ArrayList<>();
}
